package com.usian.common.exception;

import com.usian.common.enums.AppHttpCodeEnum;
import lombok.Data;

@Data
public class LeadException extends RuntimeException {

    private AppHttpCodeEnum enums;

    public LeadException(String message) {
        super(message);
    }

    public LeadException(String message, Throwable cause) {
        super(message, cause);
    }

    public LeadException(AppHttpCodeEnum enums, String message) {
        super(message);
        this.enums = enums;
    }

    public LeadException(AppHttpCodeEnum enums) {
        this.enums = enums;
    }
}
